BackupPC-users

Re: [BackupPC-users] email not working

2010-04-27 17:46:19
Subject: Re: [BackupPC-users] email not working
From: Frank J. Gómez <frank AT crop-circle DOT net>
To: "General list for user discussion, questions and support" <backuppc-users AT lists.sourceforge DOT net>
Date: Tue, 27 Apr 2010 16:43:56 -0400
There are are least two ways to solve this:

To specify buckeyeusd.org as a local domain, run:

sudo dpkg-reconfigure exim4-config

On the third screen or so you'll be instructed:

Please enter a semicolon-separated list of recipient domains for which this machine should consider itself the final destination. These domains are commonly called 'local domains'. The local hostname and 'localhost' are always added to the list given here.

Entering buckeyeusd.org here would cause all mail sent to that domain to be delivered locally.

If that's not want you want, try this:

hostname -f

That should give you your fully qualified domain name.  Supply that instead of buckeyeusd.org to BackupPC and you should be good.  From your log snippet it looks like your FQDN is backupserver.oms.local.

-Frank

On Tue, Apr 27, 2010 at 4:25 PM, Eddie Gonzales <egonzales AT buckeyeusd DOT org> wrote:
This is from the Exim4 logs...it looks like it thinks my email is Non-Local. How can I change it to local? My mail server and BackupPC  server are both inside my networks. Do you think its because I put a domain on my backup server and should of left it as "workgroup"?

2010-04-27 09:12:02 1O6nOE-000342-2l <= backuppc AT backupserver DOT oms.local U=backuppc P=local S=671
2010-04-27 09:12:02 1O6nOE-000342-2l ** egonzales AT buckeyeusd DOT org R=nonlocal: Mailing to remote domains not supported
2010-04-27 09:12:02 1O6nOE-000344-70 <= <> R=1O6nOE-000342-2l U=Debian-exim P=local S=1570
2010-04-27 09:12:02 1O6nOE-000342-2l Completed
2010-04-27 09:12:02 1O6nOE-000344-70 => administrator <backuppc AT backupserver DOT oms.local> R=local_user T=mail_spool
2010-04-27 09:12:02 1O6nOE-000344-70 Completed
-----Original Message-----
From: Doug Lytle [mailto:support AT drdos DOT info]
Sent: Tuesday, April 27, 2010 10:45 AM
To: General list for user discussion, questions and support
Subject: Re: [BackupPC-users] email not working

Eddie Gonzales wrote:
> Mine does all this without errors but I don't get the email.
>
> BackupServer:/usr/share/backuppc/bin$ ./BackupPC_sendEmail -u egonzales AT buckeyeusd DOT org
> Sending test email using /usr/sbin/sendmail -t -f backuppc
> BackupServer:/usr/share/backuppc/bin$
>

Sendmail or postfix also needs to be installed.

If one or the other is, then you'll want to check the system logs, I'm
not familiar enough with Debian, you could probably find them in the
/var/log or /var/log/mail.

In my Mandriva setup it shows up at /var/log/mail/info.log

Apr 27 13:15:12 backuppc postfix/smtp[4513]: 64D61307D78D0:
to=<my.email AT drdos DOT info>, relay=drdos.info[64.xxx.xxx.xxx]:25,
delay=0.29, delays=0.15/0.05/0.02/0.07, dsn=2.0.0, status=sent (250
2.0.0 Ok: queued as 88472E071C5B)

Doug

--

Ben Franklin quote:

"Those who would give up Essential Liberty to purchase a little Temporary Safety, deserve neither Liberty nor Safety."


------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/

------------------------------------------------------------------------------
_______________________________________________
BackupPC-users mailing list
BackupPC-users AT lists.sourceforge DOT net
List:    https://lists.sourceforge.net/lists/listinfo/backuppc-users
Wiki:    http://backuppc.wiki.sourceforge.net
Project: http://backuppc.sourceforge.net/