Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 103701 - qmail-send: ability to choose sending ip instead of 0.0.0.0
Summary: qmail-send: ability to choose sending ip instead of 0.0.0.0
Status: RESOLVED WORKSFORME
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: High major (vote)
Assignee: Qmail Team (OBSOLETE)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 40486
  Show dependency tree
 
Reported: 2005-08-25 06:44 UTC by Arnvid L. Karstad
Modified: 2005-08-27 07:32 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Arnvid L. Karstad 2005-08-25 06:44:26 UTC
with mail-mta/qmail-1.03-r15 one cannot choose which ip you want to use for
sending mail with qmail-remote, but this seemed to be fixed in -r16. Altho with
-r16 it still uses the default eth0 ip address. 

This patch "virtual-domain-outgoing-IP-address.patch" seems to do the same as as
the "qmail-1.03-outgoing.ip-gentoo.diff" which was posted to the qmail team
earlier. Altho the later used a file "outgoingip" to set the ip but I dont see
any such ip configuration file in the patch included in -r16.

The problem with this is that the IP address which selected from using 0.0.0.0
or the first ip on eth0 is not the same as what the hostname which is used for
the HELO/EHLO command alot of remote smtp servers will reject your smtp connection.

This is a big show stopper...

Reproducible: Always
Steps to Reproduce:
1.
2.
3.
Comment 1 Michael Hanselmann (hansmi) (RETIRED) gentoo-dev 2005-08-27 07:32:58 UTC
I've closed bug 56744 as a duplicate of bug 98961. The new patch resolves the
mail-from-domain and uses that IP address.