Advertisement
If you have a new account but are having problems posting or verifying your account, please email us on hello@boards.ie for help. Thanks :)
Hello all! Please ensure that you are posting a new thread or question in the appropriate forum. The Feedback forum is overwhelmed with questions that are having to be moved elsewhere. If you need help to verify your account contact hello@boards.ie
Hi there,
There is an issue with role permissions that is being worked on at the moment.
If you are having trouble with access or permissions on regional forums please post here to get access: https://www.boards.ie/discussion/2058365403/you-do-not-have-permission-for-that#latest

a question on sendmail

  • 10-04-2003 3:52pm
    #1
    Registered Users, Registered Users 2 Posts: 14,156 ✭✭✭✭


    Hey guys,

    I've got an autoresponse configuration set up here under a RH 7.3 install

    I've an "autoresponse" user set up so we can do various thingies here in the office with it. In the /home/autoresp/.procmailrc file there are a load of group mail configurations, eg. "allstaff", "alldev" etc etc.

    We have a particular config:
    :0 h
    * ^to: *.userlist
    * !^From: .*autoresp
    {
      :0
    !  user1 user2 user3 user4 etc
    }
    

    and the 'userlist' alias is defined in the /etc/aliases file as:
    userlist : autoresp
    

    and what seems to happen is that if I sent a mail to 'userlist', and user1 replies I get a mail back (from userlist@blah) no problem. But if I attempt to reply to this again, no mail is sent back and just seems to get lost.

    Funnily enough, if I attempt to grep the mail log file I get no reference to my ever sending or receiving a mail
    cat maillog |grep myname |grep userlist
    

    Anyone got any ideas? Apologies if this is a *little* vague cause Im' a bit stumped here.


Comments

  • Registered Users, Registered Users 2 Posts: 43 peema


    IIRC, in sendmail if you have a group alias
    ulist:a,b,c
    and one of the members of ulist sends a mail to ulist, the mail will _not_ be sent to a, only b and c.

    I can't remember offhand if it's a configuration option or not, but it probably is.


  • Registered Users, Registered Users 2 Posts: 14,156 ✭✭✭✭Lemming


    Thanks for that peema, but user 'D' isn't on the list.

    user 'D' sends a mail to the list. user 'A' responds (as list@blah). The mail gets sent fine.

    then user'D' attempts to reply to this mail, but the mail simply disappears once sent.

    This behavious also occurs when anyone ON the list attempts to send a reply to a reply to an original mail.

    It works once, then stops :confused:


  • Registered Users, Registered Users 2 Posts: 43 peema


    Actually, looking back....
    Originally posted by Lemming

    * ^to: *.userlist
    

    Surely that should be:
    * ^To:.*userlist
    
    As ' *.' means zero or more space chars followed by a char.


  • Registered Users, Registered Users 2 Posts: 14,156 ✭✭✭✭Lemming


    cheers peema :)

    sorted it.

    The particular use had created an MUA alias for a particular mail-list so it was appearing as "ListAcryonom <list@blah>"

    and the original .procmailrc filter wasn't picking it up.

    So having changed it to:
    * ^to:.*list@blah
    

    all is hunkydory .... for now :ninja:


Advertisement