Where can I find real examples of /etc/postfix/main.cf setup on host
with no resolvable FQDN relaying throu smtp Smarthost with
authentication?

I've been experimenting; have setup sasl user password  authtication.
Hashed it with postmap, encluded the necessay smtp statements and etc
in main.cf 
I've tried using the actual hostname and domain name (even though they
are not resolvable anywhere buit my home lan) in main.cf.

I wasn't sure about iincluding/attaching it here .. if that is allowed
in this newsgroup so left out main.cf for now.

My experimental configuration in place, I try sending something with
postfix's sendmail as root and as user reader
                                     
reader > sudo sendmail -vt <tmail.txt
Mail Delivery Status Report will be mailed to <root>.

reader > sendmail -vt <tmail.txt
Mail Delivery Status Report will be mailed to <reader>.
                                                                      
tmail.txt contains:        
    To: rea...@newsguy.com
    Subject: test of rough config on postfix
    From: rea...@local.lan

    And here goes the e-mail body test etc etc etc etc.
    .
I tried tmail as shown, and with `From: ' field like this:
   From: rea...@newsguy.com  (which is a working email address) 

smtp.newsguy.com is also the SmartHost where I have credentials; used
in `main.cf'.

Even though the sendmail message says reports will be mailed, nothing
shows up at /var/spool/mail or at rea...@newsguy.com iinboxhowubunt
  
    ls -l /var/spool/mail/
   total 1
-  rw------- 1 reader mail 0 Jan  9 23:52 reader

empty.

Examples of working configs from a situation like mine would really be
helpful.  
Any suggestions at all would be most welcome. 

Reply via email to