[pfx] Re: Log/Capture outbound messages?
On Fri, Jan 26, 2024 at 07:51:31PM -0500, Wietse Venema via Postfix-users wrote: > joe a via Postfix-users: > > Postfix 3.5.9-5.9.2 > > > > Perhaps not a postfix question at all. Looking for a way to capture > > outbound email, for troubleshooting purposes. > > > > Is "smtp-sink" the way to do this? > > That could be, if you are interested in outbund SMTP deliveries. > smtp-sink has a crude option to save messages to file. > > If you want to save am "extra" copy for investigation, consider > using always_bcc, sender_bcc_maps or recipient_bcc_maps. Or just deliver the messages to a maildir. The OP rather failed to specify clearly what "capture" or "outbound mail" meant. -- Viktor. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: Log/Capture outbound messages?
joe a via Postfix-users: > Postfix 3.5.9-5.9.2 > > Perhaps not a postfix question at all. Looking for a way to capture > outbound email, for troubleshooting purposes. > > Is "smtp-sink" the way to do this? That could be, if you are interested in outbund SMTP deliveries. smtp-sink has a crude option to save messages to file. If you want to save am "extra" copy for investigation, consider using always_bcc, sender_bcc_maps or recipient_bcc_maps. Wietse ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Log/Capture outbound messages?
Postfix 3.5.9-5.9.2 Perhaps not a postfix question at all. Looking for a way to capture outbound email, for troubleshooting purposes. Is "smtp-sink" the way to do this? ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: ldap + 550 5.1.1
On Fri, Jan 26, 2024 at 03:41:10PM +0100, Karsten Schmid via Postfix-users wrote: > So how would an appropriate entry in virtual_alias_maps look like? https://www.postfix.org/ldap_table.5.html > root@creampuff [/etc/postfix/ldap] # postfix reload > /usr/sbin/postconf: fatal: /etc/postfix/ldap/virtual-alias-maps.cf, line > 1: missing '=' after attribute name: "root?fed...@example.net" line isn't of the form: attribute = value for one of the documented ldap table attributes: domain = ... server_host = ... server_port = ... search_base = ... query_filter = ... > root@creampuff [/etc/postfix/ldap] # postfix reload > /usr/sbin/postconf: warning: > ldap:/etc/postfix/ldap/virtual-alias-maps.cf: unused parameter: > root=fed...@example.net Random fuzzing of the file will not give good results. Do read the docs. -- Viktor. ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org
[pfx] Re: ldap + 550 5.1.1
So how would an appropriate entry in virtual_alias_maps look like? root@creampuff [/etc/postfix/ldap] # postfix reload /usr/sbin/postconf: fatal: /etc/postfix/ldap/virtual-alias-maps.cf, line 1: missing '=' after attribute name: "root?fed...@example.net" postfix/postfix-script: refreshing the Postfix mail system root@creampuff [/etc/postfix/ldap] # emacs virtual-alias-maps.cf root@creampuff [/etc/postfix/ldap] # postfix reload /usr/sbin/postconf: warning: ldap:/etc/postfix/ldap/virtual-alias-maps.cf: unused parameter: root=fed...@example.net postfix/postfix-script: refreshing the Postfix mail system root@creampuff [/etc/postfix/ldap] # *Gesendet:* Dienstag, 16. Januar 2024 um 10:42 Uhr *Von:* "Matus UHLAR - fantomas via Postfix-users" *An:* postfix-users@postfix.org *Betreff:* [pfx] Re: ldap + 550 5.1.1 On 16.01.24 06:50, jungle.hunt--- via Postfix-users wrote: according to the error above, domain example.net is a virtual mailbox domain, and r...@example.net is neither in virtual_alias_maps (which is processed always) nor in virtual_mailbox_maps (which is processed for virtual mailbox domains). ___ Postfix-users mailing list -- postfix-users@postfix.org To unsubscribe send an email to postfix-users-le...@postfix.org