Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
The hostname of my PC is dev.ivanatora.info. It has an A record in the DNS zone for ivanatora.info. I have a Postfix installation running here. I'm sending mail to outside, but the From: field is firstname.lastname@example.org instead of email@example.com. Here is part of main.cf:
irishbitte, that doesn't seem to work. Mail is still sent with firstname.lastname@example.org.
Another strange issue is this. I'm trying to send mail to Exim system. The Exim is configured with "verify callout" - it tries to call back the sender to see if local user exist at my side. Using pine and user root I'm able to send mail (there is another mail server at ivanatora.info, so the verification callout passes). But using sendmail from the command line fails. The message is delivered, but the verification callback does not pass. I'm running pine with default settings. Any idea why the sendmail binary won't work? Here is example session from maillog:
May 25 11:26:44 localhost postfix/pickup: C89B61C739A: uid=0 from=<root>
May 25 11:26:44 localhost postfix/cleanup: C89B61C739A: message-id=<20090525082644.C89B61C739A@dev.ivanatora.info>
May 25 11:26:44 localhost postfix/qmgr: C89B61C739A: from=<email@example.com>, size=291, nrcpt=1 (queue active)
May 25 11:26:45 localhost postfix/smtpd: connect from zen.r1servers.com[126.96.36.199]
May 25 11:26:45 localhost postfix/smtpd: warning: lookup firstname.lastname@example.org, NIS domain ivanatora.info, map mail.aliases: internal yp server or client error
May 25 11:26:45 localhost postfix/smtpd: NOQUEUE: reject: RCPT from zen.r1servers.com[188.8.131.52]: 451 4.3.0 <email@example.com>: Temporary lookup failure; from=<> to=<firstname.lastname@example.org> proto=SMTP helo=<zen.r1servers.com>
May 25 11:26:45 localhost postfix/cleanup: 8E2011C7397: message-id=<20090525082645.8E2011C7397@dev.ivanatora.info>
May 25 11:26:45 localhost postfix/smtpd: disconnect from zen.r1servers.com[184.108.40.206]
May 25 11:26:45 localhost postfix/qmgr: 8E2011C7397: from=<email@example.com>, size=766, nrcpt=1 (queue active)
May 25 11:26:45 localhost postfix/local: warning: lookup postmaster, NIS domain ivanatora.info, map mail.aliases: internal yp server or client error
May 25 11:26:45 localhost postfix/local: 8E2011C7397: to=<firstname.lastname@example.org>, orig_to=<postmaster>, relay=local, delay=0.01, delays=0.01/0/0/0.01, dsn=4.3.0, status=deferred (alias database unavailable)
May 25 11:26:45 localhost postfix/smtp: C89B61C739A: to=<email@example.com>, relay=aiperfekt.com[220.127.116.11]:25, delay=2.7, delays=2/0/0.21/0.58, dsn=4.0.0, status=deferred (host aiperfekt.com[18.104.22.168] said: 451 Could not complete sender verify callout (in reply to RCPT TO command))
Sorry for double posting.
I've just checked with Wireshark (great debugging tool!) and I see pine sends the followin command:
MAIL FROM: <firstname.lastname@example.org>
While sending from commandline:
# sendmail email@example.com
Gives the following command:
MAIL FROM <firstname.lastname@example.org>
Ooohh, dumb me. I had user-domain=ivanatora.info in ~/.pinerc
So Postfix does really sends fine from @dev.ivanatora.info but the remote host have problems with "Temporary lookup failure". I will check the state of the MX records, becouse I have played a little with these and maybe I should wait DNS refreshing.
Added these lines to main.cf: