Bluehost.com Web Hosting $6.95

how to send email via postfix

This is a discussion on how to send email via postfix within the Linux Networking forums, part of the Linux Forums category; hi, I installed postfix on my machine and it doesn't have a qualified DNS. I am trying to send ...


Go Back   Usenet Forums > Linux Forums > Linux Networking

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 10-21-2003
 
Posts: n/a
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 (permalink)  
Old 10-22-2003
Bit Twister
 
Posts: n/a
Default Re: how to send email via postfix

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.
Reply With Quote
  #3 (permalink)  
Old 10-22-2003
ynotssor
 
Posts: n/a
Default Re: how to send email via postfix

<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! =-----
Reply With Quote
Reply
Thread Tools Search this Thread
Search this Thread:

Advanced Search
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 Off
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On




All times are GMT +1. The time now is 10:47 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.0.0