Networking Forums  

Go Back   Networking Forums > Networking Newsgroups > Linux Networking

how to send email via postfix

Reply
 
Thread Tools Display Modes
  #1  
Old 10-21-2003, 10:38 PM
Default 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



Reply With Quote
  #2  
Old 10-21-2003, 11:11 PM
Bit Twister
Guest
 
Posts: n/a
Default Re: how to send email via postfix

On Tue, 21 Oct 2003 21:38:21 +0000 (UTC), <(E-Mail Removed)> 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 (E-Mail Removed)

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.
Reply With Quote
  #3  
Old 10-21-2003, 11:12 PM
ynotssor
Guest
 
Posts: n/a
Default Re: how to send email via postfix

<(E-Mail Removed)> wrote in message
news:bn490d$2qd$(E-Mail Removed)

> 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! =-----
Reply With Quote
Reply

Tags
email, postfix, send

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 06:56 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.