On 4/14/2013 12:37 PM, Wietse Venema wrote:
> awingnut:
>> On 4/14/2013 10:43 AM, Wietse Venema wrote:
>>> awingnut:
>>>> smtp_generic_maps = hash:/etc/postfix/generic
>>> ...
>>>> smtp      unix  -       -       n       -       -       smtp
>>>> relay     unix  -       -       n       -       -       smtp
>>>>         -o smtp_fallback_relay=
>>> What is the output from:
>>>
>>> $ postmap -s hash:/etc/postfix/generic
>>>
>>> This should be in the form
>>>
>>> user1@site1 user@site2
>>>
>>> i.e. no ":" after the user1@site1, and no other garbage.
>>>
>>>     Wietse
>>>
>>>
>> Yes, that is what I get.
>>
>> [email protected]     [email protected]
> This sends mail from me to me, but smtp_generic_maps replaces all
> the addresses with postmaster.
>
> Commands:
> % postconf smtp_generic_maps
> smtp_generic_maps = hash:/etc/postfix/generic
> % postmap -q [email protected] hash:/etc/postfix/generic
> [email protected]
> % date | mail [email protected]
>
> Logging:
> Apr 14 12:29:29 hades postfix/qmgr[2326]: 60F3FABFF10: 
> from=<[email protected]>, size=327, nrcpt=1 (queue active)
> Apr 14 12:29:35 hades postfix/smtp[2625]: > 
> spike.porcupine.org[168.100.189.2]:25: MAIL FROM:<[email protected]> 
> SIZE=327
> ...
> Apr 14 12:29:35 hades postfix/smtp[2625]: > 
> spike.porcupine.org[168.100.189.2]:25: RCPT TO:<[email protected]>
>
> Message:
> To: [email protected]
> Message-Id: <[email protected]>
> Date: Sun, 14 Apr 2013 12:29:29 -0400 (EDT)
> From: [email protected] (Wietse Venema)
>
> Sun Apr 14 12:29:29 EDT 2013
>
>       Wietse
>
>
I have no log entries like that at all, for anything. Typically all I
get is something like this for any given outgoing email:

Apr 14 02:01:40 myhost postfix/pickup[23917]: 5A3AE1FA85: uid=0 from=<root>
Apr 14 02:01:40 myhost postfix/cleanup[24077]: 5A3AE1FA85:
message-id=<[email protected]>
Apr 14 02:01:40 myhost postfix/qmgr[13172]: 5A3AE1FA85:
from=<[email protected]>, size=6017, nrcpt=1 (queue active)
Apr 14 02:01:40 myhost postfix/cleanup[24077]: C8BF71FA84:
message-id=<[email protected]>
Apr 14 02:01:40 myhost postfix/qmgr[13172]: C8BF71FA84:
from=<[email protected]>, size=6156, nrcpt=1 (queue active)
Apr 14 02:01:40 myhost postfix/local[24079]: 5A3AE1FA85:
to=<[email protected]>, orig_to=<root>, relay=local, delay=89,
delays=89/0.21/0/0.07, dsn=2.0.0, status=sent (forwarded as C8BF71FA84)
Apr 14 02:01:40 myhost postfix/qmgr[13172]: 5A3AE1FA85: removed
Apr 14 02:01:41 myhost postfix/smtp[24080]: connect to
smtp.att.yahoo.com[98.139.221.42]:25: No route to host
Apr 14 02:01:42 myhost postfix/smtp[24080]: C8BF71FA84:
to=<[email protected]>, orig_to=<root>,
relay=smtp.att.yahoo.com[98.138.31.74]:25, delay=1.2,
delays=0.05/0.19/0.47/0.48, dsn=2.0.0, status=sent (250 OK , completed)
Apr 14 02:01:42 myhost postfix/qmgr[13172]: C8BF71FA84: removed


Reply via email to