|
Neohapsis is currently accepting applications for employment. For more information, please visit our website www.neohapsis.com or email hr@neohapsis.com |
Re: mail relay
From: /dev/rob0 (rob0
gmx.co.uk)
Date: Fri Jun 03 2005 - 18:49:43 CDT
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Please do not top-post.
Casey Boone wrote:
> my "logs prove otherwise"? my logs only prove that i am using 1
> component of sendmail, nothing more and not really which one. that 1
> component is /bin/mail.
And your /bin/mail is calling the /usr/lib/sendmail (most likely) from
the sendmail.org source, and not the sendmail(1) that Postfix uses as a
compatibility interface.
Why not just remove sendmail altogether? Is /bin/mail a part of that
package? If so let me tell you about nail.
http://nail.sourceforge.net
It's fully compatible with the old BSD mailx, AFAICT, and way more
powerful. The distribution I use (Slackware Linux) switched to it 2-3
releases ago, and I'm quite glad of that. Nail can do SMTP and MIME
attachments. I've used both features quite a bit.
If you don't want to switch and your /bin/mail is part of sendmail, no
problem. Simply change the symlink for /usr/lib/sendmail (verify that
this IS what your /bin/mail is using) to point to Postfix's sendmail
binary ("sendmail_path = /usr/local/sbin/sendmail" from your postconf
-n). Your OS might provide a means of doing this. If not, rm(1) and
ln(1) will do the job.
> postfix, and not sendmail, gets a connection from localhost. this is
> expected as i used /bin/mail and it looks for smtp on the localhost do
> actually send its mail.
Yes, I'm sure there's something wrong in Postfix too. First things
first: you should have your mail command using it.
> i still dont see why default_transport and relayhost are not being
> honored and why it thinks everything is destined for local virtual
> mailboxes.
Viktor asked you questions which you did not answer:
>> $ postmap -q theflash.shawneelink.net \
>> mysql:/usr/local/etc/postfix/virtualdomains.cf
>>
>> produces what results? Has main.cf been changed since trivial-rewrite
>> started?
I think you'll get better results here by doing what is asked.
--
mail to this address is discarded unless "/dev/rob0"
or "not-spam" is in Subject: header
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]