On Monday 07 February 2005 02:51, Shaul Karl wrote: > Is an MTA installed? If so, aren't there log files? Yes to both questions - postfix is running but /var/log/mail/errors had no error messages
BUT, after looking again, I discovered the problem in /var/log/mail/info (a strange place for error messages). So I now know that the problem is that postfix is trying to send mail to the wrong domain. But I don't know how to fix it. Here's some more information. 1 - solomon sends a message to shlomo (no error message) [EMAIL PROTECTED] solomon]$ mail -s"test message" shlomo this is a test message Cc: [EMAIL PROTECTED] solomon]$ 2 - /var/log/mail/info shows that the message-id seems OK but then [EMAIL PROTECTED] seems to want to send a message to [EMAIL PROTECTED] so both the sender and destination domains are wrong [EMAIL PROTECTED] solomon]# tail -9 /var/log/mail/info Feb 7 18:19:49 shlomo1 postfix/pickup[13569]: 6AB358D84: uid=501 from=<solomon> Feb 7 18:19:49 shlomo1 postfix/cleanup[22673]: 6AB358D84: message-id=<[EMAIL PROTECTED]> Feb 7 18:19:49 shlomo1 postfix/qmgr[13570]: 6AB358D84: from=<[EMAIL PROTECTED]>, size=314, nrcpt=1 (queue active) Feb 7 18:19:49 shlomo1 postfix/smtp[22675]: 6AB358D84: to=<[EMAIL PROTECTED]>, orig_to=<shlomo>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=solomon.solomon type=A: Host not found) Feb 7 18:19:49 shlomo1 postfix/cleanup[22673]: A01AE8D85: message-id=<[EMAIL PROTECTED]> Feb 7 18:19:49 shlomo1 postfix/qmgr[13570]: A01AE8D85: from=<>, size=2143, nrcpt=1 (queue active) Feb 7 18:19:49 shlomo1 postfix/qmgr[13570]: 6AB358D84: removed Feb 7 18:19:49 shlomo1 postfix/smtp[22675]: A01AE8D85: to=<[EMAIL PROTECTED]>, orig_to=<[EMAIL PROTECTED]>, relay=none, delay=0, status=bounced (Host or domain name not found. Name service error for name=solomon.solomon type=A: Host not found) Feb 7 18:19:49 shlomo1 postfix/qmgr[13570]: A01AE8D85: removed [EMAIL PROTECTED] solomon]# 3 - domainname and hostname show the correct values [EMAIL PROTECTED] solomon]$ domainname solomon [EMAIL PROTECTED] solomon]$ [EMAIL PROTECTED] solomon]$ hostname shlomo1.solomon [EMAIL PROTECTED] solomon]$ 4 - the postfix configuration file also seems OK - or am I missing something? [EMAIL PROTECTED] solomon]$ tail -8 /etc/postfix/main.cf myhostname = shlomo1.solomon mydestination = $myhostname, localhost.$mydomain alias_database = hash:/etc/postfix/aliases virtual_maps = hash:/etc/postfix/virtual canonical_maps = hash:/etc/postfix/canonical mydomain = solomon masquerade_domains = solomon myorigin = solomon [EMAIL PROTECTED] solomon]$ Any help will be appreciated TIA -- Shlomo Solomon http://the-solomons.net Sent by KMail 1.7.1 (KDE 3.2.3) on LINUX Mandrake 10.1 ================================================================= To unsubscribe, send mail to [EMAIL PROTECTED] with the word "unsubscribe" in the message body, e.g., run the command echo unsubscribe | mail [EMAIL PROTECTED]
