View Full Version : how to send email via postfix
hi,
I installed postfix on my machine and it doesn't have
a qualified DNS.
I am trying to send email to my account in the university. But the email
never shows up. My guess is my email was dropped by the mailserver since
I don't have a QDNS. Is it true?
Thank you very much.
Feiyue
Bit Twister
07-24-2004, 10:07 PM
On Tue, 21 Oct 2003 21:38:21 +0000 (UTC), <lify@rubby.homelinux.com> wrote:
> hi,
> I installed postfix on my machine and it doesn't have
> a qualified DNS.
> I am trying to send email to my account in the university. But the email
> never shows up. My guess is my email was dropped by the mailserver since
> I don't have a QDNS. Is it true?
> Thank you very much.
I setup postfix so that root email is routed to my user account.
All mail sent from bittwister uses my ISP email account.
More and more postmasters are rejecting email if they can not verify
the Return-Path contains a valid email account in a registered domain.
diff legend:
lines with < is the before change. line
lines with > is the after change. line
lines with numbers contain the line and character location of changes.
I modified aliases to send root's email to bittwister:
diff aliases_orig aliases
80c80,81
< root: postfix
---
> root: bittwister
I generated the aliases.db with postalias aliases
I created sender_canonical with
bittwister my_email_addy@attbi.com
I generated sender_canonical.db with postmap sender_canonical
I modified main.cf with my isp/local host.domain
and added the sender_canonical_map line.
diff main.cf_orig main.cf
67a68
> myhostname = wb.home
75a77
> mydomain = home
304c306
< #relayhost = gateway.my.domain
---
> relayhost = mail.attbi.com
345a348
> sender_canonical_maps = hash:/etc/postfix/sender_canonical
After I change anything I do a
postfix stop
cp /dev/null /var/log/mail/errors
cp /dev/null /var/log/mail/info
cp /dev/null /var/log/mail/warnings
cp /etc/resolv.conf /var/spool/postfix/etc/resolv.conf
postfix start
and check the /var/log/mail/* logs
The cp /var/spool/postfix/etc/resolv.conf is because I am on dhcp
from my isp and the spool copy needs to match the /etc copy.
You might find some help in the debug file found with
locate -i postfix | grep -i doc | grep -i debug
You then cut/paste something like
/usr/share/doc/postfix-2.0.6/README_FILES/DEBUG_README
into your browser if running Mandrake.
ynotssor
07-24-2004, 10:07 PM
<lify@rubby.homelinux.com> wrote in message
news:bn490d$2qd$1@grapevine.wam.umd.edu
> My guess is my email was dropped by the
> mailserver since I don't have a QDNS. Is it true?
Why not look in /var/log/maillog instead of guessing?
--
use hotmail com for any email replies
-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 100,000 Newsgroups - 19 Different Servers! =-----
vBulletin v3.0.3, Copyright ©2000-2009, Jelsoft Enterprises Ltd.