[BackupPC-users] BPCNightly- BPCsendEmail- "recipient address not accept
2011-11-06 14:03:30
I can't find what's causing the error.
It's the message that BackupPC_nightly is trying to send at 1:00 am.
The msmtprc configuration file does not have user: "John". The only place I
have "John" is in config.pl, at: $Conf{RsyncdUserName} = 'John';
Also, I have changed in BackupPC_sendEmail, in line 387:
if ( !open(MAIL, "|$Conf{SendmailPath} -t $from") ) {
printf("Can't run sendmail ($Conf{SendmailPath}): $!\n");
return;
}
I have added: "-t" since "msmtp -t" picks up the destination address from the
e-mail "To:" header.
How can I debug this?
Note that this works fine:
/ # msmtp -d -t < /mnt/HD_a2/Temp/mailfile
Where mailfile is:
To: user_to AT domain1 DOT com
From: user_from AT domain2 DOT com
Subject: Mail test
This is a message
EOF
msmtp picks up the destination address from the "To:" header, and sends the
message to:
user_from AT domain2 DOT com
+----------------------------------------------------------------------
|This was sent by gh0988 AT hotmail DOT com via Backup Central.
|Forward SPAM to abuse AT backupcentral DOT com.
+----------------------------------------------------------------------
------------------------------------------------------------------------------
RSA(R) Conference 2012
Save $700 by Nov 18
Register now
http://p.sf.net/sfu/rsa-sfdev2dev1
_______________________________________________
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/
|
|
|